armed
Type
property
Summary
Specifies whether a button has a changed (active) appearance due to the mouse pointer moving into it
Syntax
set the armed of <button> to {true | false}
Description
Check the armed property to determine whether a button's menu is open--that is, whether the user is in the process of choosing an item from the menu. You can also set a button's armed property to change its appearance.
A button's armed property is analogous to its hilite property. A button is usually armed when the mouse pointer moves into it. You can automate this behavior by setting the button's autoArm property to true.
The appearance of an armed button is determined by its armBorder and armFill properties.
Examples
set the armed of first button to false
if the armed of button "Font" then showFontSamples
Related
command: hilite
glossary: appearance, mouse pointer, property
object: button
property: armed, armFill, properties, autoArm, hiliteBorder
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile